Layer Definition Schema
PAGE Element
See Also  Send comments on this topic.
Layer Definition Schema : PAGE Element

Glossary Item Box

Description

Used to define a page of an ArcPad form.

Diagram

UPDOWN Element SYMBOLOGYFIELD Element SLIDER Element RADIOBUTTON Element LISTBOX Element LABEL Element IMAGEBOX Element EDIT Element DOMAINFIELD Element DATETIME Element COMBOBOX Element CHECKBOX Element BUTTON Element Sequence PAGE Element

Overview

PAGE
Used to define a page of an ArcPad form.
backgroundcolor optional
The background color to use for the page. This can be overridden by setting a control's backgroundcolor attribute. If not specified, this value is inherited from the form's backgroundcolor attribute.
caption optional xs:string
Displayed in the tab of the page.
color optional
The color to use for the page. This can be overridden by setting a control's color attribute. If not specified, this value is inherited from the form's color attribute.
font optional
The font for the page. This can be overridden by setting a control's font attribute. If not specified, this value is inherited from the form's font attribute.
fontsize optional xs:int
The font size for the page. This can be overridden by setting a control's fontsize attribute. If not specified, this value is inherited from the form's fontsize attribute.
fontstyle optional Restriction of xs:string
The font style for the page. This can be overridden by setting a control's fontstyle attribute. If not specified, this value is inherited from the form's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").
name optional xs:string
Page name. Used when referring to the page in scripts.
oncancel optional
Specify the script to run when this event occurs.
onkillactive optional
Specify the script to run when this event occurs.
onload optional
Specify the script to run when this event occurs.
onok optional
Specify the script to run when this event occurs.
onquerycancel optional
Specify the script to run when this event occurs.
onsetactive optional
Specify the script to run when this event occurs.
onunload optional
Specify the script to run when this event occurs.
onvalidate optional
Specify the script to run when this event occurs.
sip optional Restriction of xs:string
Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls on this page get the focus. Individual controls can override this setting with the sip attribute of the various control elements (for example, EDIT, COMBOBOX, etc.).
Sequence 1..∞
BUTTON
Used to define a Button control in a form.
CHECKBOX
Used to define a CheckBox control in a form.
COMBOBOX
Used to define a ComboBox control in a form.
DATETIME
Used to define a DateTime control in a form.
DOMAINFIELD
Used to define a 'domain field' control in a form. This is a special control that is tied to a domain or subtype field in a layer form.
EDIT
Used to define an Edit control in a form.
IMAGEBOX
Used to define an ImageBox control in a form.
LABEL
Used to specify the label font for ArcPad in ArcPadPrefs.apx and to define a Label control in a form.
LISTBOX
Used to define a ListBox control in a form.
RADIOBUTTON
Used to define a RadioButton control in a form.
SLIDER
Used to define a Slider control in a form.
SYMBOLOGYFIELD
Used to define a 'symbology field' control in a form. This is a special control that is tied to a layer's legend.
UPDOWN
Used to define an UpDown control in a form.

Attributes

NameTypeUseDefaultFixedDescription
backgroundcolor optional  The background color to use for the page. This can be overridden by setting a control's backgroundcolor attribute. If not specified, this value is inherited from the form's backgroundcolor attribute.
captionxs:stringoptional  Displayed in the tab of the page.
color optional  The color to use for the page. This can be overridden by setting a control's color attribute. If not specified, this value is inherited from the form's color attribute.
font optional  The font for the page. This can be overridden by setting a control's font attribute. If not specified, this value is inherited from the form's font attribute.
fontsizexs:intoptional  The font size for the page. This can be overridden by setting a control's fontsize attribute. If not specified, this value is inherited from the form's fontsize attribute.
fontstyleRestriction of xs:stringoptionalregular The font style for the page. This can be overridden by setting a control's fontstyle attribute. If not specified, this value is inherited from the form's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").
namexs:stringoptional  Page name. Used when referring to the page in scripts.
oncancel optional  Specify the script to run when this event occurs.
onkillactive optional  Specify the script to run when this event occurs.
onload optional  Specify the script to run when this event occurs.
onok optional  Specify the script to run when this event occurs.
onquerycancel optional  Specify the script to run when this event occurs.
onsetactive optional  Specify the script to run when this event occurs.
onunload optional  Specify the script to run when this event occurs.
onvalidate optional  Specify the script to run when this event occurs.
sipRestriction of xs:stringoptionalauto Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls on this page get the focus. Individual controls can override this setting with the sip attribute of the various control elements (for example, EDIT, COMBOBOX, etc.).

Examples

Source

<xs:element name="PAGE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a page of an ArcPad form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence maxOccurs="unbounded">
      <xs:element maxOccurs="1" ref="BUTTON" />
      <xs:element maxOccurs="1" ref="CHECKBOX" />
      <xs:element maxOccurs="1" ref="COMBOBOX" />
      <xs:element maxOccurs="1" ref="DATETIME" />
      <xs:element maxOccurs="1" ref="DOMAINFIELD" />
      <xs:element maxOccurs="1" ref="EDIT" />
      <xs:element maxOccurs="1" ref="IMAGEBOX" />
      <xs:element maxOccurs="1" ref="LABEL" />
      <xs:element maxOccurs="1" ref="LISTBOX" />
      <xs:element maxOccurs="1" ref="RADIOBUTTON" />
      <xs:element maxOccurs="1" ref="SLIDER" />
      <xs:element maxOccurs="1" ref="SYMBOLOGYFIELD" />
      <xs:element maxOccurs="1" ref="UPDOWN" />
    </xs:sequence>
    <xs:attribute name="backgroundcolor">
      <xs:annotation>
        <xs:documentation>The background color to use for the page. This can be overridden by setting a control's backgroundcolor attribute. If not specified, this value is inherited from the form's backgroundcolor attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="caption" type="xs:string">
      <xs:annotation>
        <xs:documentation>Displayed in the tab of the page.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="color">
      <xs:annotation>
        <xs:documentation>The color to use for the page. This can be overridden by setting a control's color attribute. If not specified, this value is inherited from the form's color attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="font">
      <xs:annotation>
        <xs:documentation>The font for the page. This can be overridden by setting a control's font attribute. If not specified, this value is inherited from the form's font attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="fontsize" type="xs:int">
      <xs:annotation>
        <xs:documentation>The font size for the page. This can be overridden by setting a control's fontsize attribute. If not specified, this value is inherited from the form's fontsize attribute.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="fontstyle" default="regular">
      <xs:annotation>
        <xs:documentation>The font style for the page. This can be overridden by setting a control's fontstyle attribute. If not specified, this value is inherited from the form's fontstyle attribute. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="regular" />
          <xs:enumeration value="bold" />
          <xs:enumeration value="italic" />
          <xs:enumeration value="underline" />
          <xs:enumeration value="strikeout" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string">
      <xs:annotation>
        <xs:documentation>Page name. Used when referring to the page in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="oncancel">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onkillactive">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onload">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onok">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onquerycancel">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onsetactive">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onunload">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="onvalidate">
      <xs:annotation>
        <xs:documentation>Specify the script to run when this event occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="auto" name="sip">
      <xs:annotation>
        <xs:documentation>Specifies whether the SIP (soft input panel) is displayed on pen devices by default when controls on this page get the focus. Individual controls can override this setting with the sip attribute of the various control elements (for example, EDIT, COMBOBOX, etc.).</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
          <xs:enumeration value="auto" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.